<?php
require_once "Common/database.php";
require_once "Common/values.php";
echo '<p><h3>Advanced Search<p></h3>';
#echo '<p> User : '.$user ;

echo '<table><tr><td class="noborder">';
echo '<FORM action="index.php?m=h&p=hsearcha" method="POST">';

echo '<Table>';
echo '<tr><td><h3>Details Search<p></h3></td></tr>';
echo '<tr><td><p align=right>Log Number : <input type=text name=lognumber value=%></td></tr>';
echo '<tr><td><p align=right>Requestor : <input type=text name=requestor value=%></td></tr>';
echo '<tr><td><p align=right>Operator : <input type=text name=operator value=%></td></tr>';
echo '<tr><td><p align=right>Subject : <input type=text name=subject value=%></td></tr>';
echo '<tr><td><p align=right>Time : <input type=text name=time value=%></td></tr>';
echo '<tr><td><p align=right>Date : <input type=text name=date value=%></td></tr>';
echo '<tr><td><p align=right>Proirty : <input type=text name=proirty value=%></td></tr>';
echo '<tr><td><p align=right>Status : <input type=text name=status value=%></td></tr>';
echo '<tr><td><p align=right>Problem : <input type=text name=problem value=%></td></tr>';
echo '<tr><td><p align=right>Branch : <input type=text name=branch value=%></td></tr>';
echo '<tr><td><p align=right>Department : <input type=text name=department value=%></td></tr>';
echo '<tr><td><p align=right>Phone : <input type=text name=phone value=%></td></tr>';
echo '<tr><td><p align=right>VNC : <input type=text name=vnc value=%></td></tr>';
echo '<tr><td><p align=right>Due : <input type=text name=due value=%></td></tr>';
echo '<tr><td><p align=right>Open / Closed : <input type=text name=closed value=%></td></tr>';
echo '<tr><td><p align=right>Include current : <input type="checkbox" name="current" value="checked" checked>';
echo '<tr><td><p align=right>Include archive : <input type="checkbox" name="archive" value="checked" checked>';
echo '<tr><td><INPUT type="image" src="img/go.gif"></td></tr>';
#echo '<tr><td><a href="index.php?p=hsearchaus">Solutions search</a></td></tr>';
#echo '<tr><td><a href="index.php?p=hsearchaa">Archive search</a></td></tr>';
echo '</FORM></table></td><td class="noborder" valign="top">';
require_once "searchaus.php";
echo '</td></tr></table>';

?>